package com.nit.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Rentapply对象", description="")
public class Rentapply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "租用申请Id")
    @TableId(value = "rentapply_id", type = IdType.AUTO)
    private Integer rentapplyId;

    @ApiModelProperty(value = "租用物品id")
    private Integer rentgoodsId;

    @ApiModelProperty(value = "租用物品数量")
    private Integer rentapplyCount;

    @ApiModelProperty(value = "租用申请成员")
    private Integer userId;

    @ApiModelProperty(value = "申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createtime;

    @ApiModelProperty(value = "申请理由")
    private String rentapplyInfo;


}
